package io.finer.erp.jeecg.jolimark.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * 请求接口返回数据
 * 
 * @author Jolimark
 *
 * @param <T>
 */
public class PrintResponse<T> implements Serializable {
	private static final long serialVersionUID = 6966834087490982150L;

	/**
	 * 返回状态码
	 */
	@JSONField(name = "return_code")
	private int returnCode;
	/**
	 * 消息
	 */
	@JSONField(name = "return_msg")
	private String returnMessage;
	/**
	 * 信息数据
	 */
	@JSONField(name = "return_data")
	private T returnData;

	public int getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(int returnCode) {
		this.returnCode = returnCode;
	}

	public String getReturnMessage() {
		return returnMessage;
	}

	public void setReturnMessage(String returnMessage) {
		this.returnMessage = returnMessage;
	}

	public T getReturnData() {
		return returnData;
	}

	public void setReturnData(T returnData) {
		this.returnData = returnData;
	}
}
